<template>
  <el-popover
    placement="bottom"
    width="300"
    trigger="hover"
  >
    <template slot="reference">
      <el-badge is-dot class="message">
        <svg-icon icon-class="message" />
      </el-badge>
    </template>
    <el-tabs stretch>
      <el-tab-pane label="站内信">
        <span slot="label"><i class="el-icon-date" /> 站内信</span>
        站内信
      </el-tab-pane>
      <el-tab-pane label="我的">
        <span slot="label"><i class="el-icon-position" /> 我的</span>
        我的
      </el-tab-pane>
    </el-tabs>
  </el-popover>
</template>

<style scoped>
.message{
  display: inline;
}
</style>
